package com.study.mongodbdynamicdatasource.anno;

import com.study.mongodbdynamicdatasource.MongoDbDynamicDataSourceScan;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(MongoDbDynamicDataSourceScan.class)
public @interface EnableMongoDbDynamicDataSource {
    String value() default "";
}
